package com.future.future.movie.service.impl;

import com.future.future.commons.utils.PageUtils;
import com.future.future.commons.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.future.future.movie.dao.Movie1Dao;
import com.future.future.movie.entity.Movie1Entity;
import com.future.future.movie.service.Movie1Service;


@Service("movie1Service")
public class Movie1ServiceImpl extends ServiceImpl<Movie1Dao, Movie1Entity> implements Movie1Service {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<Movie1Entity> page = this.page(
                new Query<Movie1Entity>().getPage(params),
                new QueryWrapper<Movie1Entity>()
        );

        return new PageUtils(page);
    }

}